package com.rightsidetech.system.dtos.response.adverts;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@JsonIgnoreProperties(value={"startDa","endDa"})
public class BannerPageResp implements Serializable {

    private Long id;

    @ApiModelProperty("主题名称")
    private String topicName;

    @ApiModelProperty("banner类型 0-活动 1-公告 2-商品")
    private Byte bannerType;

    @ApiModelProperty("排序")
    private Long bannerSort;

    @ApiModelProperty("跳转id")
    private Long jumpId;

    @ApiModelProperty("跳转名称")
    private String jumpName;

    @ApiModelProperty("图片")
    private String picture;

    @ApiModelProperty("发布平台 0-用户小程序 1-代理商app 2-门店app")
    private Byte platform;

    @ApiModelProperty("发布开始时间")
    private String startDate;

    @ApiModelProperty("发布结束时间")
    private String endDate;

    @ApiModelProperty("是否关闭 0-未关闭 1-关闭")
    private Byte isClose;

    @ApiModelProperty("创建人")
    private String createrName;

    @ApiModelProperty("创建时间")
    private String createdAt;

    @ApiModelProperty("是否在使用时间内 0-在 1-不在")
    private Byte status;

    private Date startDa;
    private Date endDa;
}
